package com.zzptc.my.myapplication.entity;

import java.util.List;

public class Students {
    private int code;
    private List<Student> data;

    public Students() {
    }

    public Students(int code, List<Student> data) {
        this.code = code;
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<Student> getData() {
        return data;
    }

    public void setData(List<Student> data) {
        this.data = data;
    }

   public class Student{
        private int stu_id;
        private String stu_name;
        private int age;

        public Student() {
        }

        public Student(int stu_id, String stu_name, int age) {
            this.stu_id = stu_id;
            this.stu_name = stu_name;
            this.age = age;
        }

        public int getStu_id() {
            return stu_id;
        }

        public void setStu_id(int stu_id) {
            this.stu_id = stu_id;
        }

        public String getStu_name() {
            return stu_name;
        }

        public void setStu_name(String stu_name) {
            this.stu_name = stu_name;
        }

        public int getAge() {
            return age;
        }

        public void setAge(int age) {
            this.age = age;
        }
    }
}
